//导入vue模块
import Vue from "vue"

//导入mint-ui组件
import { Header,Swipe,SwipeItem } from 'mint-ui';
Vue.component(Header.name, Header);
Vue.component(Swipe.name,Swipe);
Vue.component(SwipeItem.name,SwipeItem);

//导入mui  css样式
import './lib/mui/css/mui.min.css'
import './lib/mui/css/icons-extra.css'

//导入路由包
import VueRouter from 'vue-router'
Vue.use(VueRouter)

//导入vueresource插件
import VueResource from 'vue-resource'
Vue.use(VueResource)


//导入app组件
import app from "./App.vue"

//导入路由配置
import router from "./router.js"

var vm = new Vue({
    el: '#app',
    render: function(creatElement){
        return creatElement(app);
    },
    router
})